lcBlockAddTextWin Home

Adds a new Windows text object into a block.

 HANDLE lcBlockAddTextWin (
   HANDLE hBlock,
   LPCWSTR szText,
   double X,
   double Y
 );

Parameters
hBlock
  Handle to a block.
szText
  Text string. It can contain formatting codes which allow to add specific characters.
X Y
  Coordinates of the Text insertion point.
The text placement around the point depends on default alignment by text style (LC_PROP_TSTYLE_ALIGN parameter).

Return Value

  Handle to created text object or NULL if the function fails.

Remarks

  For missing text parameters, such as height, width scale, alignment, rotation angle, oblique angle, the default values from active text style will be used.

See Also

  lcBlockAddTextWin2,   Text style,   Code sample